package com.func.domain.strategy.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @ClassName StrategyAwardEntity
 * @Description 策略奖品实体
 * @Author: func
 * @Date 2025/2/19 1:23
 * @Version 1.0
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StrategyAwardEntity {
    /** 抽奖策略ID*/
    private Long strategyId;
    /** 抽奖奖品ID*/
    private Integer awardId;
    /** 规则模型, rule配置规则记录*/
    private String ruleModels;
    /** 抽奖奖品标题*/
    private String awardTitle;
    /** 抽奖奖品副标题*/
    private String awardSubtitle;
    /** 奖品库存总量*/
    private Integer awardCount;
    /** 奖品库存剩余*/
    private Integer awardCountSurplus;
    /** 中奖概率*/
    private BigDecimal awardRate;
    /** 奖品在转盘上的排序*/
    private Integer sort;
}
